home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- global sndname, seclick
- sound stop 1
- set sndname to "@::SOUND:S11.AIF"
- set seclick to "SE01"
- end
-
- on pushbutton
- set ch to clickOn()
- set cname1 to item 1 of the name of cast the castNum of sprite ch
- set cname2 to item 2 of the name of cast the castNum of sprite ch
- repeat while the stillDown
- if rollOver(ch) then
- set the castNum of sprite ch to the number of cast (cname1 & "," & "ON")
- else
- set the castNum of sprite ch to the number of cast (cname1 & "," & cname2)
- end if
- updateStage()
- end repeat
- if rollOver(ch) then
- set the castNum of sprite ch to the number of cast (cname1 & "," & "ON")
- set ret to 1
- else
- set the castNum of sprite ch to the number of cast (cname1 & "," & cname2)
- set ret to 0
- end if
- updateStage()
- return ret
- end
-
- on blinkbutton
- global splist
- repeat with i in splist
- set cname1 to item 1 of the name of cast the castNum of sprite i
- set cname2 to value(item 2 of the name of cast the castNum of sprite i)
- if cname2 = 2 then
- set cname2 to 1
- else
- set cname2 to cname2 + 1
- end if
- set the castNum of sprite i to the number of cast (cname1 & "," & cname2)
- end repeat
- end
-
- on exitmenu
- global splist
- repeat with i in splist
- puppetSprite(i, 0)
- end repeat
- end
-
- on exitquit
- global splist
- repeat with i in splist
- puppetSprite(i, 0)
- end repeat
- end
-